package com.yfq.springframework;

/**
 * @author 姚凤桥
 * @date 2022/11/22 16:25
 * @description
 */
public class UserService {
    private String username;

    private UserDao userDao;

    public UserService() {
    }

    public UserService(String username) {
        this.username = username;
    }

    public void sayHello(String id) {
        System.out.println("hello " + username + "..." + userDao.getUserName(id));
    }

}
